home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3detedm.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_EDGEDETMOD_H = 1;
- include("real/code/r3postim.js")
-
-
- var R3CLID_EDGEDETECTIONMODEL = 1502;
-
-
-
-
-
-
-
- R3EDETMA_Threshold = 1502500;
- function SetR3EDETMA_Threshold(value) {
- R3Set(this.r3obj, R3EDETMA_Threshold, value, R3TID_FLOAT, 0);
- }
-
- function GetR3EDETMA_Threshold() {
- return R3Get(this.r3obj, R3EDETMA_Threshold, R3TID_FLOAT, 0);
- }
-
- R3EDETMA_InChannel = 1502501;
- function SetR3EDETMA_InChannel(value) {
- R3Set(this.r3obj, R3EDETMA_InChannel, value, R3TID_STRING, 0);
- }
-
- function GetR3EDETMA_InChannel() {
- return R3Get(this.r3obj, R3EDETMA_InChannel, R3TID_STRING, 0);
- }
-
- R3EDETMA_OutChannel = 1502502;
- function SetR3EDETMA_OutChannel(value) {
- R3Set(this.r3obj, R3EDETMA_OutChannel, value, R3TID_STRING, 0);
- }
-
- function GetR3EDETMA_OutChannel() {
- return R3Get(this.r3obj, R3EDETMA_OutChannel, R3TID_STRING, 0);
- }
-
- R3EDETMA_Geometric = 1502503;
- function SetR3EDETMA_Geometric(value) {
- R3Set(this.r3obj, R3EDETMA_Geometric, value, R3TID_INTEGER, 0);
- }
-
- function GetR3EDETMA_Geometric() {
- return R3Get(this.r3obj, R3EDETMA_Geometric, R3TID_INTEGER, 0);
- }
-
-
-
- function r3Edgedetectionmodel () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_EDGEDETECTIONMODEL, arguments);
- }
- // Methods
-
- // Attributes
- this.GetThreshold=GetR3EDETMA_Threshold;
- this.SetThreshold=SetR3EDETMA_Threshold;
- this.GetInChannel=GetR3EDETMA_InChannel;
- this.SetInChannel=SetR3EDETMA_InChannel;
- this.GetOutChannel=GetR3EDETMA_OutChannel;
- this.SetOutChannel=SetR3EDETMA_OutChannel;
- this.GetGeometric=GetR3EDETMA_Geometric;
- this.SetGeometric=SetR3EDETMA_Geometric;
- }
-
- r3Edgedetectionmodel.prototype=new r3Postimageeffectmodel;
- // r3detedm.h_H